<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/style.css">
    <!-- <script src="js/javascript.js"></script> -->
</head>

<body>
    <a href="#" target="_blank"><img src="img/狗都不玩.jpg" alt=""></a>
    <a href="javascript:void(0)"><img src="img/狗都不玩.jpg" alt=""></a>
    <img src="img/狗都不玩.jpg" alt="">

    <div>
        <img src="img/狗头.jpg" class="dog" alt="Image 2">
    </div>

    <div class="hammer-animation">
        <div class="hammer-container">
            <img src="img/狗头.jpg" alt="Hammer" class="hammer">
        </div>
        <div class="image-container">
            <img src="img/狗头.jpg" alt="Image" class="image">
        </div>
    </div>


    <div class="theme-toggle">
        <input type="checkbox" id="theme-toggle-checkbox" />
        <label for="theme-toggle-checkbox"></label>
    </div>

    <style>

    </style>

    <script>
        const themeToggle = document.getElementById("theme-toggle-checkbox");
        const body = document.body;

        themeToggle.addEventListener("change", function () {
            if (this.checked) {
                body.classList.add("dark-mode");
            } else {
                body.classList.remove("dark-mode");
            }
        });
    </script>
</body>

</html>